package top.toptimus.dto.customerInfo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 客户基础信息，通过客户账户查询
 */
@NoArgsConstructor
@Data
@AllArgsConstructor
public class CustomerInfoDTO {
    private String id;  //  客户信息id
    private String customerAccountId;  //   客户账户ID
    private String name;    //  姓名
    private String sex; //  性别
    private int age;    //  年龄
    private double height;  //  身高
    private double weight;  //  体重
    private List<CustomerMeasureInfo> customerMeasureInfos; //  客户量体值
    private List<CustomerFeatureInfo> customerFeatureInfos; //  客户特征值
    private Date createDate;    //  创建时间

    public CustomerInfoDTO(String id, String name, String sex, int age, double height, double weight, List<CustomerMeasureInfo> customerMeasureInfos, List<CustomerFeatureInfo> customerFeatureInfos, Date createDate) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.height = height;
        this.weight = weight;
        this.customerMeasureInfos = customerMeasureInfos;
        this.customerFeatureInfos = customerFeatureInfos;
        this.createDate = createDate;
    }
}
